package com.yorick.common.Result.impl;


import com.yorick.common.Result.Result;
import com.yorick.common.Result.ResultInterface;

import java.util.Map;

/**
 * @author 陈治杰
 * @Title: Success
 * @Description:
 * @date 2019/1/214:53
 */
public class Success extends Result implements ResultInterface {


    public Success(Object obj) {
        super("1", "成功", obj);
    }

    public Success() {
        super("1", "成功", null);
    }

    @Override
    public Map<String, Object> display() {
        return super.getResultMap();
    }
}
